@tailwind base;
@tailwind components;
@tailwind utilities;

@media (max-width: 1024px) {
  html {
    font-size: 20.8333px;
  }
}

body {
  font-family: PingFang SC, Helvetica Neue, Helvetica, Arial, Hiragino Sans GB,
    Microsoft Yahei, STHeiti, sans-serif;
  color: #666;
  font-size: 14px;
}
img {
  border: 0;
}
img {
  width: 100%;
  vertical-align: middle;
}
audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle;
}

a {
  cursor: pointer;
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
a {
  background-color: transparent;
}
a {
  color: #5079d9;
  cursor: pointer;
  transition: all 0.15s ease-out;
  text-decoration: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: #fff;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-header {
  --tw-bg-opacity: 1;
  background-color: #f5f5f5;
  background-color: rgb(245 245 245 / var(--tw-bg-opacity));
}

.h-15 {
  height: 3.75rem;
}

.hidden {
  display: none;
}

.tag-text {
  color: #fff;
  font-family: PingFang SC;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  line-height: 1;
  text-transform: uppercase;
  transform: scale(0.85);
}
.red-tag {
  background: linear-gradient(
      180deg,
      hsla(0, 0%, 100%, 0.2),
      hsla(0, 0%, 100%, 0)
    ),
    #d61111;
  background-blend-mode: soft-light, normal;
  border-radius: 4px;
  box-shadow: inset 0 2px #ffffff40;
  height: 20px;
  text-align: center;
  width: 33px;
}

/*大按钮*/
.apply-button {
  color: #fff;
  font-family: PingFang SC;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding: 8px 18px;
  text-align: center;
  text-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  background: linear-gradient(
      180deg,
      hsla(0, 0%, 100%, 0.8),
      hsla(0, 0%, 100%, 0)
    ),
    #cb1b1b;
  background-blend-mode: soft-light, normal;
  border-radius: 6px;
}

/*公用模块*/
.align-items-center {
  -ms-flex-align: center !important;
  -webkit-box-align: center !important;
  align-items: center !important;
}
.justify-content-between {
  -ms-flex-pack: justify !important;
  -webkit-box-pack: justify !important;
  justify-content: space-between !important;
}

.d-flex {
  display: -ms-flexbox !important;
  display: -webkit-box !important;
  display: flex !important;
}

/*移动端瀑布流*/
.vue-waterfall {
  width: 100%;
  overflow-y: auto;
  position: relative;
}
.vue-waterfall .vue-waterfall-column {
  float: left;
}
.vue-waterfall.is-transition img {
  /*opacity: 0;*/
}
.vue-waterfall.is-transition img.animation {
  -webkit-animation: lazy-animation 0.4s linear;
  animation: lazy-animation 0.4s linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
